package com.dj.merchant.mapper;



import com.dj.merchant.dto.OfflineStoreData;
import com.dj.merchant.model.OfflineStore;
import com.dj.merchant.model.OfflineStoreExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
* 
*/
public interface OfflineStoreMapper {
    /**
     *
     * 
     */
    long countByExample(OfflineStoreExample example);

    /**
     *
     * 
     */
    int deleteByExample(OfflineStoreExample example);

    /**
     *
     * 
     */
    int insert(OfflineStore record);

    /**
     *
     * 
     */
    int insertSelective(OfflineStore record);

    /**
     *
     * 
     */
    OfflineStore selectOneByExample(OfflineStoreExample example);




    List<OfflineStore> selectBySearch(OfflineStoreData offlineStoreData);

    /**
     *
     * 
     */
    List<OfflineStore> selectByExample(OfflineStoreExample example);

    /**
     *
     * 
     */
    int updateByExampleSelective(@Param("record") OfflineStore record, @Param("example") OfflineStoreExample example);

    /**
     *
     * 
     */
    int updateByExample(@Param("record") OfflineStore record, @Param("example") OfflineStoreExample example);
}